package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.pswv2.core.PO;
/**
 * 用户发布信息
 * @author linjiang
 *
 */
@Entity
@Table
public class ReleaseInformation extends PO {
	public static final Integer reject = 2;
	public static final Integer pass = 1;
	public static final Integer wait = 0;
	public static final Integer wait_see = 0;
	public static final Integer already_see =1;
	public static final Integer discuss =2;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer releaseInformationId;     
	private Integer userId; 						//谁发布的
	private String content; 						
	private String kWord; 							//标题
	private double money; 							//平台给的钱		
	private double price; 							//价格		
	private double totalMoney; 						//获取的总收入		
	private Integer territoryId;					//领域		
	private String method;		  					//方法
	private String term1;		   					//条件1
	private String term2;		   					//条件2	
	private String key1;		   					//关键字1	
	private String key2;		   					//关键字2	
	private String key3;		   					//关键字3	
	private String address;		   					//地址	
	private Integer status;							//状态 0等待，1通过，2驳回
	private long releaseTime;						//发布时间
	private Integer temporaryOrder;					//临时排序
	private double degreeOfSatisfaction;			//满意度 0 到10
	private Integer statusSee;						//是否被查看过0未查看，1已查看未评论，2已打分
	
	@Override
	public Serializable getId() {
		return releaseInformationId;
	}
	
	public Integer getStatusSee() {
		return statusSee;
	}

	public void setStatusSee(Integer statusSee) {
		this.statusSee = statusSee;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getKey1() {
		return key1;
	}

	public void setKey1(String key1) {
		this.key1 = key1;
	}

	public String getKey2() {
		return key2;
	}

	public void setKey2(String key2) {
		this.key2 = key2;
	}

	public String getKey3() {
		return key3;
	}

	public void setKey3(String key3) {
		this.key3 = key3;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(double totalMoney) {
		this.totalMoney = totalMoney;
	}

	public double getDegreeOfSatisfaction() {
		return degreeOfSatisfaction;
	}

	public void setDegreeOfSatisfaction(double degreeOfSatisfaction) {
		this.degreeOfSatisfaction = degreeOfSatisfaction;
	}

	public Integer getReleaseInformationId() {
		return releaseInformationId;
	}

	public void setReleaseInformationId(Integer releaseInformationId) {
		this.releaseInformationId = releaseInformationId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getkWord() {
		return kWord;
	}

	public void setkWord(String kWord) {
		this.kWord = kWord;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public long getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(long releaseTime) {
		this.releaseTime = releaseTime;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public Integer getTerritoryId() {
		return territoryId;
	}

	public void setTerritoryId(Integer territoryId) {
		this.territoryId = territoryId;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getTerm1() {
		return term1;
	}

	public void setTerm1(String term1) {
		this.term1 = term1;
	}

	public String getTerm2() {
		return term2;
	}

	public void setTerm2(String term2) {
		this.term2 = term2;
	}

	public Integer getTemporaryOrder() {
		return temporaryOrder;
	}

	public void setTemporaryOrder(Integer temporaryOrder) {
		this.temporaryOrder = temporaryOrder;
	}
	
}
